package com.xiaoshuidi.cloud.module.member.controller.admin.topics.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.io.Serializable;
import java.time.LocalDateTime;

@Data
@Schema(description = "话题新增对象")
public class TopicsCreateVO implements Serializable {
    private static final long serialVersionUID = -6870844644378881729L;

    @Schema(description = "主键")
    private Long id;

    @Schema(description = "话题名称")
    @NotNull(message = "话题名称不能为空")
    private String name;

    @Schema(description = "描述")
    private String description;

    @Schema(description = "话题状态1-启用,0-关闭")
    private Boolean status;

    @Schema(description = "有效开始时间")
    private LocalDateTime effectBeginTime;

    @Schema(description = "有效结束时间")
    private LocalDateTime effectEndTime;

    @Schema(description = "权重")
    private Integer weight;

    @Schema(description = "活动描述")
    private String details;

    @Schema(description = "话题主图片")
    private String images;

    @Schema(description = "创建人")
    private String creatorName;

    @Schema(description = "奖励积分")
    private Integer bonusPoints;
}
